﻿<Window x:Class="YSCommander.ProgramWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Program" Height="151" Width="300" ShowInTaskbar="False" ResizeMode="NoResize" Loaded="Window_Loaded" Icon="/YSCommander;component/YSCommander.ico">
    
    <Window.Resources>
        <Style TargetType="Button">
            <Setter Property="Margin" Value="5"/>
            <Setter Property="Height" Value="23"/>
            <Setter Property="Width" Value="55" />
        </Style>
    </Window.Resources>
    <DockPanel LastChildFill="False">
        
        <Label DockPanel.Dock="Top" Margin="5">_Name:</Label>
        
        <TextBox DockPanel.Dock="Top" Margin="15, 5" Name="textBoxName" TextChanged="textBoxName_TextChanged">
            <TextBox.Text>
                <Binding Path="ProgramName">
                    
                </Binding>
            </TextBox.Text>
        </TextBox>
        
        <StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal" HorizontalAlignment="Center">
            <Button Name="buttonOK" IsEnabled="False" IsDefault="True" Click="buttonOK_Click">OK</Button>
            <Button IsCancel="True">Cancel</Button>
        </StackPanel>
    </DockPanel>
</Window>
